package bean;

import java.io.Serializable;
import java.util.List;

import model.Order;

public class OrderListBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private List<Order> list;
	
	public OrderListBean(List<Order> l) {
		list = l;
	}
	
	public List<Order> getOrderList() {
		return list;
	}
	
	public void setOrderList(List<Order> l) {
		list = l;
	}
	
	public Order getOrder(int index) {
		return list.get(index);
	}

}
